package cn.itcast.zt.java8.model.facade;

/**
 * 门面模式（外观模式）
 * create by zhangtian105 on 2021/8/3
 */
public class Student {
    public void study() {
        System.out.println("学生学习");
    }

    public void doWork() {
        System.out.println("学生做作业");
    }

    public void goToSchool() {
        System.out.println("上学");
    }

    public void leaveSchool() {
        System.out.println("放学");
    }
}
